﻿using JESAI.HttpRequestMonitor.Core.Abstracts;
using JESAI.HttpRequestMonitor.Core.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Models
{
    public class RequestTimesMonitorModel : IRequestTimesMonitorModel
    {
        public string Id { get; set; }
        public string RuleId { get; set; }

        public MonitorType MonitorType => MonitorType.ToManyRequestWithAddress;

        public string Description { get; set; }

        public string CronExpression { get; set; }

        /// <summary>
        /// 警告阈值
        /// </summary>
        public int Max { get; set; }
        public int WarningThreshold { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
    }
}
